home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
POINT Software Programming
/
PPROG1.ISO
/
pascal
/
swag
/
dos.swg
/
0043_Is there 4DOS installed.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Pascal/Delphi Source File
|
1993-09-26
|
424 b
|
19 lines
(*
From: MIKE DICKSON
Subj: IS There 4DOS
*)
FUNCTION Running4DOS : Boolean;
VAR Regs : Registers;
begin
With Regs do
begin
ax := $D44D;
bx := $00;
end;
Intr ($2F, Regs);
if Regs.ax = $44DD then Running4DOS := TRUE
else Running4DOS := FALSE
end;